<?php
/**
 * @version		$Id: contact.php 10094 2008-03-02 04:35:10Z instance $
 * @package		Joomla
 * @subpackage	Test
 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and
 * details.
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );


/**
 * @package		Joomla
 * @subpackage	Test
 */
class TableYOS_News_Crawler extends JTable
{
	/** @var int Primary key */
	var $id 				= null;
	/** @var string */
	var $link				= null;
	/** @var string */
	var $url				= null;
	/** @var int */
	var $pid				= 0;
	/** @var int */
	var $category			= 0;
	/** @var string */
	var $title				= null;
	/** @var string */
	var $description		= null;
	/** @var string */
	var $getlink_reg		= null;
	/** @var int */
	var $getlink_sub		= 0;
	/** @var string */
	var $find_replace_links	= null;
	/** @var string */
	var $gettitle_reg		= null;
	/** @var int */
	var $gettitle_sub		= 0;
	/** @var string */
	var $find_replace_titles= null;
	/** @var int */
	var $dataway			= 0;
	/** @var string */
	var $getintro_reg		= null;
	/** @var int */
	var $getintro_sub		= 0;	
	/** @var int */
	var $cut_content		= 0;	
	/** @var int */
	var $numberword		= 0;
	/** @var string */
	var $find_replace_intro	= null;	
	/** @var string */
	var $getfull_reg		= null;
	/** @var int */
	var $getfull_sub		= 0;
	/** @var string */
	var $find_replace_full	= null;
	/** @var int */	
	var $has_multiple_pages	= 0;	
	/** @var int */
	var $multiple_way		= 0;
	/** @var string */
	var $pages_detect_reg	= null;	
	/** @var int */
	var $pages_detect_sub		= 0;	
	/** @var string */
	var $multipage_title_reg	= null;
	/** @var int */
	var $multipage_title_sub	= null;
	/** @var string */
	var $multipage_reg	= null;	
	/** @var int */
	var $multipage_sub	= null;	
	/** @var string */
	var $find_replace_multipage	= null;
	/** @var text */
	var $catname			= null;
	/** @var int */
	var $numbercontent			=	0;
	/** @var int */
	var $checked_out		= 0;
	/** @var date */
	var $checked_out_time	= null;

	/**
	* @param database A database connector object
	*/
	function TableYOS_News_Crawler(&$db)
	{
		parent::__construct( '#__yos_news_crawler', 'id', $db );
	}

	/**
	 * Overloaded check function
	 *
	 * @access public
	 * @return boolean
	 * @see JTable::check
	 * @since 1.5
	 */
	function check()
	{
		return true;
	}	
}
